package com.samuel.test;



public class Shop {

    private int id;

    private Double distance;

    private Long year;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public Long getYear() {
        return year;
    }

    public void setYear(Long year) {
        this.year = year;
    }

    public Shop(int id, Double distance, Long year) {
        this.id = id;
        this.distance = distance;
        this.year = year;
    }

    @Override
    public String toString() {
        return "Shop{" +
                "id=" + id +
                ", distance=" + distance +
                ", year=" + year +
                '}';
    }
}
